<?php
session_start(); 
if(!isset($_SESSION['userName'])){
header( 'location:../../index.php' ); 
}
	include("../../conf/connect.php");
	$serial=$_GET['serial'];
	$hid = $_GET['hid']; 
	$user_id =$_SESSION['user_id'];
	$bid = $_GET['bid'];
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="../../style.css" media="screen" />
	<link rel="shortcut icon" href="../images/favicon.ico" />
</head>
<body class="iub_back">
<?php
		if($bid ==5)
			$sql = "SELECT * FROM household_asset WHERE  hid='$hid'" ;
			$result = mysql_query($sql);
			while($row = mysql_fetch_array($result)){
?>
<?php if($serial=='q47'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Motorbykes/Scuter<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_01']; ?>" name="ha_01" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q48'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Car/Zeep :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_02']; ?>" name="ha_02" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q49'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Other/Tractor :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_03']; ?>" name="ha_03" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q50'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Bicycle :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
							<input type="text" value="<?php echo $row['ha_04']; ?>" name="ha_04" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q51'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Bullock Curt :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_05']; ?>" name="ha_05" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q52'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Computer :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_06']; ?>" name="ha_06" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q53'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Washing Machine :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_07']; ?>" name="ha_07" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q54'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Kitchen Mixer :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_08']; ?>" name="ha_08" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q55'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Refrigerator :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_09']; ?>" name="ha_09" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q56'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Television :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_10']; ?>" name="ha_10" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>

<?php if($serial=='q57'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Radio/Casstte :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_11']; ?>" name="ha_11" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q58'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Telephone :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_12']; ?>" name="ha_12" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q59'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Mobile Phone :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_13']; ?>" name="ha_13" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q60'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Fan :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_14']; ?>" name="ha_14" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q61'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Sewing Machine :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_15']; ?>" name="ha_15" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q62'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Watch :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_16']; ?>" name="ha_16" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q63'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Dining Table :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_17']; ?>" name="ha_17" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q64'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Household :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_18']; ?>" name="ha_18" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q65'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Ownland in the village:<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_19']; ?>" name="ha_19" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q66'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Ownland in the town :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_20']; ?>" name="ha_20" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q67'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Bankbond :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_21']; ?>" name="ha_21" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q68'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Gold Jewelery :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_22']; ?>" name="ha_22" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>
<?php if($serial=='q69'){?>
	<form method="post" action="update_operation.php?qus=<?php echo $serial;?>&amp;bid=<?php echo $bid;?>">	
		<table align="center" class="table_border">
			<tr align="left">
					<td align="left">Furniture :<input type="hidden" name="hid" value="<?php echo $hid;?>" /></td>
			</tr>
			<tr align="left">
					<td align="left">
						<input type="text" value="<?php echo $row['ha_23']; ?>" name="ha_23" />
					</td>
					
			</tr>
			<tr>
					<td  align="right"><input type="submit" value="Update"  class="input-box"/></td>
			</tr>
			
		</table>
	</form>
<?php }?>


<?php }?>	

</body>
</html>